{% from "../../macros/attributes.njk" import govukAttributes -%}

<a href="{{ params.href | default('#', true) }}" class="govuk-back-link {%- if params.classes %} {{ params.classes }}{% endif %}"
  {{- govukAttributes(params.attributes) }}>
  {{- params.html | safe if params.html else (params.text | default("Back", true)) -}}
</a>
